//
//  CarClassEntity.h
//  webRequestText
//
//  Created by 肖扬 on 15/8/31.
//  Copyright (c) 2015年 肖扬. All rights reserved.
//
//网络上获取的为-1


#import <Foundation/Foundation.h>
#import "XYSqlite.h"

@interface CarClassEntity : XYSqlite

//主键ID
@property (nonatomic, strong) NSString *ClassID;
//车系车款
@property (nonatomic, strong) NSString *ClassName;
//是否删除 0为未删除，1为软删除
@property (nonatomic, strong) NSString *isDel;
//创建时间
@property (nonatomic, strong) NSString *CreateTime;
//最后更新时间
@property (nonatomic, strong) NSString *LastUpdate;
//版本  -1为服务器缓存数据，0为本地添加数据，1编辑操作数据，2删除操作数据
@property (nonatomic, strong) NSString *Version;
//用户id
@property (nonatomic, strong) NSString *userid;
////状态，是否完成
//@property (nonatomic) BOOL done;
-(BOOL)updateVersion:(NSString *)version;
//返回字段名称
+(NSString *) ClassID;
+(NSString *) ClassName;
+(NSString *) isDel;
+(NSString *) CreateTime;
+(NSString *) LastUpdate;
+(NSString *) Version;
+(NSString *) userid;

@end
